Psst: Open the JavaScript Console and try to play around with these functions:
validAnagram('anagram', 'nagaram') // should return true
countUniqueValues([1,2,3,4,4,4,7,7,12,12,13]) // should return 7
sameFrequency(3589578, 5879385) // should return true
areThereDuplicates('a', 'b', 'c', 'a') // should return true
averagePair([1,3,3,5,6,7,10,12,19],8) // should return true
isSubsequence('abc', 'abracadabra'); // should return true
maxSubarraySum([1,4,2,10,23,3,1,0,20], 4) // should return 39
minSubArrayLen([2,3,1,2,4,3], 7) // should return 2 -> because [4,3]
is the smallest subarray
findLongestSubstring('longestsubstring') // should return 8 -> because
"ubstring" has 8 characters